﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using thinger.DataConvertLib;

namespace Manson.CommonApi.Controllers
{

    /// <summary>
    /// PLC 操作接口
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class MyPLCController : ControllerBase
    {


        /// <summary>
        /// PLC操作
        /// </summary>
        /// <returns></returns>
        [HttpPost]
        public OperateResult<int> PLCConnect()
        {
            return OperateResult.CreateSuccessResult(15);
        }
    }
}
